package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.lulian.entity.newCard.CardMessage;
import com.aiti.lulian.vo.newCard.CardMessageVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CardMessageService extends BaseService<CardMessage> {

    int getCount(String cardId);

    List<CardMessageVo> getPage(Page<CardMessage> page, @Param("cardId") String cardId);

    void readAllMessage(CardMessage cardMessage);
}
